import Vue from "vue"
import App from './App.vue'
//引入ElementUI组件库
// import ElementUI from 'element-ui';
//引入ElementUI样式
// import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false;
//应用ElementUI
// Vue.use(ElementUI);

//按需引入
import { Badge, Button, Dropdown, DropdownItem, DropdownMenu } from 'element-ui';
Vue.component("el-button", Button)
Vue.component("el-dropdown", Dropdown)
Vue.component("el-badge", Badge)
Vue.component("el-dropdown-item", DropdownItem)
Vue.component("el-dropdown-menu", DropdownMenu)
new Vue({
    el: "#app",
    render: h => h(App),
})